package com.gmail.bloim.serg.t1006;

/**
 * User: Администратор
 * Date: 27.04.13
 * Time: 18:02
 */
class Coords {
    public static int getY(int cind) {
        return cind / 50;
    }

    public static int getX(int cind) {
        return cind % 50;
    }

    public static int move(int cind, Direction dir) {
        return dir.getStep() + cind;
    }
}
